package com.bawei.module_mine.model.api

import com.bawei.library_net.entity.ResponseEntity
import com.bawei.module_mine.model.entity.UserEntity
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * @Author : yaotianxue
 * @Time : On 2023/6/26 15:42
 * @Description : LoginApi
 */
interface LoginApi {
    @POST("/user/login")
    suspend fun login(@Query("username") username:String,@Query("password") password:String):ResponseEntity<UserEntity>
}